package com.xiyun.admin.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "课程基本信息", description = "编辑课程基本信息的表单对象")
@Data
public class SubjectInfoVo {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "课程ID")
    private String id;
    @ApiModelProperty(value = "课程讲师ID")
    private String teacherId;
    @ApiModelProperty(value = "课程分类ID")
    private String parentId;
    @ApiModelProperty(value = "课程标题")
    private String title;
    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    //使用double会有精度问题    BigDecimal
    private Double price;
    @ApiModelProperty(value = "总课时")
    private Integer nums;
    @ApiModelProperty(value = "课程封面图片路径")
    private String icon;
    @ApiModelProperty(value = "课程简介")
    private String description;
}
